﻿// =================================================================== 
// 项目说明
//====================================================================
// sushee @Copy Right 2019
// 文件： SmsTemplateEntity.cs
// 项目名称：斑马车务
// 创建时间：2019/9/23
// 负责人：sushee
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///短信模板数据实体  
	/// </summary>
    [PrimaryKey("TemplateID")]
	public class SmsTemplate
	{
		///<summary>
		///短信模板
		///</summary>
		public SmsTemplate()
		{
		}	
    
		
		///<summary>
		///
		///</summary>
        [Column("TemplateID","")]
        public int TemplateID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("CarBrad","")]
        public string CarBrad { get; set; }

		///<summary>
		///
		///</summary>
        [Column("CarSerial","")]
        public string CarSerial { get; set; }

        ///<summary>
        ///模板内容
        ///</summary>
        [Column("SmsContent","模板内容")]
        public string SmsContent { get; set; }

        ///<summary>
        ///占位符长度
        ///</summary>
        [Column("PlaceHolderLength", "占位符长度")]
        public int PlaceHolderLength { get; set; }

        ///<summary>
        ///创建用户ID（OP用户ID）
        ///</summary>
        [Column("CreatedUserID","创建用户ID（OP用户ID）")]
        public int CreatedUserID { get; set; }

		///<summary>
		///创建时间
		///</summary>
        [Column("CreatedTime","创建时间")]
        public DateTime CreatedTime { get; set; }

		///<summary>
		///最后一次更新用户ID（OP用户ID）
		///</summary>
        [Column("UpdatedUserID","最后一次更新用户ID（OP用户ID）")]
        public int UpdatedUserID { get; set; }

		///<summary>
		///最后一次更新时间
		///</summary>
        [Column("UpdatedTime","最后一次更新时间")]
        public DateTime UpdatedTime { get; set; }

		///<summary>
		///是否为逻辑删除状态，0：否，1：是
		///</summary>
        [Column("IsDeleted","是否为逻辑删除状态，0：否，1：是")]
        public int IsDeleted { get; set; }

	}
}